package com.kotlin.lib.coroutines

import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking

fun main() = runBlocking<Unit> {
    val job = GlobalScope.launch {
        delay(1000)
        println("world!")
    }
    println(" hello ")
    job.join()
}